#!/usr/bin/env python3
"""
运行 Reporter 测试的脚本
"""

import pytest
import sys

if __name__ == "__main__":
    # 运行测试
    exit_code = pytest.main([
        "test/test_reporter.py",
        "-v",
        "--tb=short",
        "--strict-markers",
        "--strict-config", 
        "--durations=10",
        "-x",  # 遇到第一个失败时停止
    ])
    
    sys.exit(exit_code)